package com.ecoolex.cms.system.enums;

import com.ecoolex.framework.common.EnumInterface;

public enum VRSceneStatus implements EnumInterface<VRSceneStatus, Integer> {
	EDIT(1, "编辑"), ONLINE(2, "上线"), OFFLINE(3, "下线");

	private Integer real;
	private String describe;

	private VRSceneStatus(Integer real, String describe) {
		this.real = real;
		this.describe = describe;
	}

	@Override
	public Integer real() {
		return real;
	}

	@Override
	public String describe() {
		return describe;
	}

	@Override
	public VRSceneStatus realOf(Integer real) {
		for (VRSceneStatus e : values()) {
			if (e.real().equals(real)) {
				return e;
			}
		}
		return null;
	}

}
